package cn.edu.ujn.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import cn.edu.ujn.common.annotation.Excel;
import cn.edu.ujn.common.core.domain.BaseEntity;

/**
 * 管理员信息管理对象 f_admin
 * 
 * @author ruoyi
 * @date 2023-11-22
 */
public class FAdmin extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 管理员id */
    @Excel(name = "管理员id")
    private Long adminId;

    /** 管理员电话号码 */
    @Excel(name = "管理员电话号码")
    private String phoneNumber;

    /** 管理员姓名 */
    @Excel(name = "管理员姓名")
    private String name;

    /** 管理员性别 */
    @Excel(name = "管理员性别")
    private Integer gender;

    /** 状态 */
    @Excel(name = "状态")
    private Integer situation;

    public void setAdminId(Long adminId) 
    {
        this.adminId = adminId;
    }

    public Long getAdminId() 
    {
        return adminId;
    }
    public void setPhoneNumber(String phoneNumber) 
    {
        this.phoneNumber = phoneNumber;
    }

    public String getPhoneNumber() 
    {
        return phoneNumber;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setGender(Integer gender) 
    {
        this.gender = gender;
    }

    public Integer getGender() 
    {
        return gender;
    }
    public void setSituation(Integer situation) 
    {
        this.situation = situation;
    }

    public Integer getSituation() 
    {
        return situation;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("adminId", getAdminId())
            .append("phoneNumber", getPhoneNumber())
            .append("name", getName())
            .append("gender", getGender())
            .append("situation", getSituation())
            .toString();
    }
}
